package nineteen;

/**
 * 使用枚举接口模拟生成菜单
 *
 * @author sun.ye
 * @since 2020-05-02 21:22
 */
public class Meal {
    public static void main(String[] args) {
        for (int i = 0; i < 5 ; i++) {
            for (Course course : Course.values() ) {
                Food food = course.randomSelection();
                System.out.println(food);
            }
            System.out.println("----------");
        }
    }
}